/*
* Author: honrun
*/
#include "stdint.h"
#include "stdio.h"
#include "gd32w51x.h"
#include "DevicesTime.h"
#include "microTime.h"


/* 时钟基准（us） */
int64_t g_lMicroTime = 0;


/* 单位us */
int64_t lMicroTimeGet(void)
{
    g_lMicroTime = lTimeGetStamp();

    return g_lMicroTime;
}

/* 单位us */
void vMicroTimeSet(int64_t lTime)
{
    g_lMicroTime = lTime;
}
